#include "tim.h"
#include <ti/driverlib/dl_gpio.h>

void TIM_Init(void)
{
	NVIC_EnableIRQ(TIMG0_INT_IRQn);           //使能中断
	DL_TimerG_startCounter(TIMG0);
	NVIC_EnableIRQ(TIMG1_INT_IRQn);           //使能中断
	DL_TimerG_startCounter(TIMG1);
	NVIC_EnableIRQ(TIMG2_INT_IRQn);           //使能中断
	DL_TimerG_startCounter(TIMG2);	
	
	NVIC_EnableIRQ(TIMG4_INT_IRQn);           //使能中断
	DL_TimerG_startCounter(TIMG4);
	
}







